home *** CD-ROM | disk | FTP | other *** search
-
-
-
- tttteeeexxxxbbbbiiiinnnn((((3333GGGG)))) tttteeeexxxxbbbbiiiinnnn((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- tttteeeexxxxbbbbiiiinnnn - selects a texture function
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee tttteeeexxxxbbbbiiiinnnn((((ttttaaaarrrrggggeeeetttt,,,, iiiinnnnddddeeeexxxx))))
- iiiinnnntttteeeeggggeeeerrrr****4444 ttttaaaarrrrggggeeeetttt,,,, iiiinnnnddddeeeexxxx
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _t_a_r_g_e_t expects the texture resource to which the texture function
- definition is to be bound. There are three appropriate
- resources, TTTTXXXXTTTTEEEEXXXXTTTT , TTTTXXXXTTTTEEEEXXXXDDDD and TTTTXXXXTTTTEEEEXXXXIIII.
-
- _i_n_d_e_x expects the name of the texture function that is being bound.
- Name is the index passed to tttteeeexxxxddddeeeeffff when the texture function was
- defined.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Texture coordinates, _s,_t,_u may be specified at geometry vertices,
- similarly to color, depth, and vertex normals. The texture coordinates
- are interpolated from the values specified at the vertices for each
- screen pixel touched by the geometry. A texture function maps the
- texture coordinates _s,_t, or _s,_t,_u, corresponding to a screen pixel into
- _n_c values, called texture function outputs, using an _i_m_a_g_e and a set of
- properties. The texture function outputs may be translated with a texture
- look-up table. The texture function outputs are used by the texture
- environment function to modify the screen pixel color.
-
- tttteeeexxxxddddeeeeffff2222dddd and tttteeeexxxxddddeeeeffff3333dddd define a texture function and tttteeeexxxxbbbbiiiinnnndddd selects which
- texture function definition to use. The texture environment function is
- defined by tttteeeevvvvddddeeeeffff and selected by tttteeeevvvvbbbbiiiinnnndddd. The texture look-up table is
- defined by ttttlllluuuuttttddddeeeeffff and selected by ttttlllluuuuttttbbbbiiiinnnndddd. The texture coordinates are
- specified with the tttt family of commands.
-
- By default texture function definition 0 is bound to TTTTXXXXTTTTEEEEXXXXTTTT. Texture
- mapping is enabled when an texture function definition other than 0 is
- bound to TTTTXXXXTTTTEEEEXXXXTTTT, and a texture environment definition other than 0 is
- bound to TTTTVVVVEEEENNNNVVVV0000. (See tttteeeevvvvbbbbiiiinnnn.) If the texture bound to TTTTXXXXTTTTEEEEXXXXTTTT, uses a
- detail enhancing magnification algorithm, the texture bound to TTTTXXXXTTTTEEEEXXXXDDDD, is
- used in that calculation. If no texture is bound to TTTTXXXXTTTTEEEEXXXXDDDD, and the
- magnification algorithm reqires a detail texture results are undefined.
-
- can be used in the following way to control texture memory management.
- The N most recently loaded (a texbind that required a load) textures that
- fit in texture memory are tracked by the GL. If texture memory is full
- and a new texture is bound, the texture that has been in texture memory
- the longest replaced by the new texture. If the user wishes some other
- texture to be replaced, he can idle that texture first and the new
- texture will use the space vacated by the idled texture. A simple example
- is the case where two textures can fit in texture memory and user wishes
- to keep one texture, texture A, in memory always and cycle through three
- other textures, B, C, D, of which only one will fit. To avoid replacing
- texture A, the user can idle texture B after primitives are drawn with
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- tttteeeexxxxbbbbiiiinnnn((((3333GGGG)))) tttteeeexxxxbbbbiiiinnnn((((3333GGGG))))
-
-
-
- it, and when C is bound (and loaded), it will take the space vacated by
- B, and leave the texture A alone.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- t, tevbind, tevdef, texdef2d t, tevbind, tevdef, texdef
-
- NNNNOOOOTTTTEEEESSSS
- IRIS-4D G, GT, and GTX models, and the Personal Iris, do not support
- texture mapping. tttteeeexxxxbbbbiiiinnnn is ignored by these machines. The Iris Indy,
- Indigo Entry, and XL support texture mapping except for lines. Use
- ggggeeeettttggggddddeeee to determine whether texture mapping is supported.
-
- tttteeeexxxxbbbbiiiinnnn cannot be used while mmmmmmmmooooddddeeee is MMMMSSSSIIIINNNNGGGGLLLL.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-